import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Arrays;

public class JdbcDemo09 {
    public static void main(String[] args) throws IOException, SQLException {
        String sql = "insert into article values(0,?,?)";
        PreparedStatement ps = JDBCUtil1.getStatement(sql);
        FileReader fileReader = new FileReader("F:\\IdeaProjects\\MyJava230203\\JDBC_Demo\\src\\3.txt");
        BufferedReader br = new BufferedReader(fileReader);
        StringBuilder sb = new StringBuilder();
        String line;
        while ((line = br.readLine()) != null) {
            System.out.println(Arrays.toString(line.split("    ")));
        }



        fileReader.close();
        ps.close();

    }
}
